package com.erp.erp_ui.business.vo;

/**
 * @ClassName : DataInfoLogVo
 * @Description : 日志信息出参实体
 * @Author : lst
 * @Date: 2021-08-10 16:14
 */
public class DataInfoLogVo {

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 各模块主表id
     */
    private Integer parentId;
    /**
     * 模块id(在枚举类中维护各模块id)
     */
    private Integer moduleId;
    /**
     * 操作类型(1:新增 2:修改 3:删除)
     */
    private String operationType;
    /**
     * 操作员名称
     */
    private String operationName;
    /**
     * 操作员编码
     */
    private String operationCode;
    /**
     * 操作日期
     */
    private String operationTime;
    /**
     * 操作内容
     */
    private String operationContent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(String operationTime) {
        this.operationTime = operationTime;
    }

    public String getOperationContent() {
        return operationContent;
    }

    public void setOperationContent(String operationContent) {
        this.operationContent = operationContent;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("DataInfoLogVo").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",moduleId=")
                .append(moduleId)
                .append(",operationType=")
                .append(operationType)
                .append(",operationName=")
                .append(operationName)
                .append(",operationCode=")
                .append(operationCode)
                .append(",operationTime=")
                .append(operationTime)
                .append(",operationContent=")
                .append(operationContent)
                .append(']');
        return sb.toString();
    }
}
